home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8174 / 8174.xpi / chrome / antbar.jar / content / xul / toolbar.xul < prev   
Extensible Markup Language  |  2009-12-30  |  8KB  |  164 lines

  1. <?xml version="1.0"?>
  2. <!-- 
  3.      toolbar.xul
  4.      firefox
  5.      
  6.      Created by Zak on 2008-06-12.
  7.      Contributor Brian King (http://briks.si)
  8.      Copyright 2008-2009 Ant.com. All rights reserved.
  9.   -->
  10.  
  11. <!DOCTYPE overlay SYSTEM "chrome://antbar/locale/antbar.dtd">
  12.  
  13. <?xml-stylesheet href="chrome://antbar/content/bindings/bindings.css"?>
  14. <?xml-stylesheet href="chrome://antbar/skin/antbar.css"?>
  15.  
  16. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  17.  
  18.   <script type="application/x-javascript" src="chrome://antbar/content/lib/array.js"/>
  19.   <script type="application/x-javascript" src="chrome://antbar/content/lib/flvlink.js"/>
  20.   <script type="application/x-javascript" src="chrome://antbar/content/lib/lib.js"/>
  21.   <script type="application/x-javascript" src="chrome://antbar/content/lib/lang.js"/>
  22.   <script type="application/x-javascript" src="chrome://antbar/content/prefs/prefs.js"/>
  23.   <script type="application/x-javascript" src="chrome://antbar/content/grabber/parsers/parser.js"/>
  24.   <script type="application/x-javascript" src="chrome://antbar/content/grabber/parsers/parsergeneric.js"/>
  25.   <script type="application/x-javascript" src="chrome://antbar/content/grabber/parsers/parseryoutube.js"/>
  26.   <script type="application/x-javascript" src="chrome://antbar/content/userinterface.js"/>
  27.   <script type="application/x-javascript" src="chrome://antbar/content/grabber/htmlparser.js"/>
  28.   <script type="application/x-javascript" src="chrome://antbar/content/grabber/grabber.js"/>
  29.   <script type="application/x-javascript" src="chrome://antbar/content/grabber/flvlist.js"/>
  30.   <script type="application/x-javascript" src="chrome://antbar/content/grabber/queryobserver.js"/>
  31.   <script type="application/x-javascript" src="chrome://antbar/content/downloader/downloadmanager.js"/>
  32.   <script type="application/x-javascript" src="chrome://antbar/content/downloader/downloadlistener.js"/>
  33.   <script type="application/x-javascript" src="chrome://antbar/content/rank/rank.js"/>
  34.   <script type="application/x-javascript" src="chrome://antbar/content/watchURL.js"/>
  35.   <script type="application/x-javascript" src="chrome://antbar/content/lib/bugreport.js"/>
  36.   <script type="application/x-javascript" src="chrome://antbar/content/toolbar.js"/>
  37.  
  38.   <!-- toolbar -->
  39.   <toolbox id="navigator-toolbox">
  40.     <toolbar id="antToolbar"
  41.              class="chromeclass-toolbar"
  42.              toolbarname="&antToolbar.toolbarname;"
  43.              accesskey="T"
  44.              context="toolbar-context-menu"
  45.              hidden="false"
  46.              persist="hidden">
  47.       <stringbundleset id="strbundles">
  48.         <stringbundle id="langstr" src="chrome://antbar/locale/antbar.properties"/>
  49.       </stringbundleset>
  50.  
  51.       <toolbarbutton id="antToolBarLogoButton"
  52.                      type="menu-button"
  53.              class="ant-logo-full-class"
  54.                      oncommand="if (event.target == this) AntLib.openURL('http://www.ant.com');"
  55.                      tooltiptext="Ant.com">
  56.         <menupopup>
  57.           <menuitem id="antFlvToolBarMenuPrefItem"
  58.                     label="&antFlvToolBarMenuPrefButton.label;"
  59.                     class="menuitem-iconic ant-settings-class"
  60.                     tooltiptext="&antFlvToolBarMenuPrefButton.tooltiptext;"
  61.                     oncommand="AntBar.doPrefs();" />
  62.         </menupopup>
  63.       </toolbarbutton>
  64.       <hbox>
  65.         <textbox id="antToolBarSearchBox"
  66.                  flex="1"
  67.                  maxheight="22"
  68.                  persist="width"
  69.                  onfocus="AntBar.onSearchBoxOnFocus(true);"
  70.                  onblur="AntBar.onSearchBoxOnFocus(false);"
  71.                  onkeypress="AntBar.onSearchBoxKeyPress(event);"
  72.                  emptytext="&antToolBarSearchBox.value;"/>
  73.         <toolbarbutton id="antToolBarCombinedButton"
  74.                        label="&antToolBarCombinedButton.label;"
  75.                        type="Plain"
  76.                        tooltiptext="&antToolBarCombinedButton.tooltiptext;"
  77.                        minwidth="65"
  78.                        oncommand="AntBar.doSearch();" />
  79.       </hbox>
  80.       <splitter id="antToolBarResizeSplitter"
  81.                 state="open"
  82.                 collapse="none"
  83.                 resizeafter="farthest" resizebefore="closest"
  84.                 tooltiptext="&antToolBarResizeSplitter.tooltiptext;" />
  85.  
  86.       <toolbarbutton id="antToolBarDownloadButton"
  87.                      tooltiptext="&antToolBarDownloadButton.tooltiptext;"
  88.                      label="&antToolBarDownloadButton.label;"
  89.              type=""
  90.              orient="horizontal"
  91.              class="ant-download-class"
  92.                      disabled="true">
  93.         <menupopup id="ant-video-toolbar-dllist">
  94.         </menupopup>
  95.       </toolbarbutton>
  96.  
  97.       <toolbarbutton id="antToolBarPlayerButton"
  98.                      tooltiptext="&antToolBarPlayerButton.tooltiptext;"
  99.                      label="&antToolBarPlayerButton.label;"
  100.                      minwidth="60"
  101.              class="ant-player-class"
  102.                      oncommand="AntBar.onPlayerButtonClick();"
  103.                      onclick="checkForMiddleClick(this, event);"/>
  104.       <toolbarbutton id="antToolBarOpenDirButton"
  105.                      label="&antToolBarOpenDirButton.label;"
  106.                      tooltiptext="&antToolBarOpenDirButton.tooltiptext;"
  107.                      minwidth="70"
  108.              class="ant-explore-class"
  109.                      oncommand="AntBar.onOpenDirButtonClick();" />
  110.       <toolbarbutton id="antToolBarRankButton"
  111.                      tooltiptext="&antToolBarRankButton.tooltiptext;"
  112.                      minwidth="40"
  113.              class="ant-rank-class"
  114.                      crop="none"
  115.                      label="&antToolBarRankButton.label;"
  116.                      oncommand="AntBar.onRankButtonClick();"
  117.                      hidden="true"/>
  118.       <toolbarseparator />
  119.  
  120.       <toolbarbutton id="antToolBarSupportButton"
  121.              class="ant-support-class"
  122.                      tooltiptext="&antToolBarSupportButton.tooltiptext;"
  123.                      label="&antToolBarSupportButton.label;"
  124.                      oncommand="AntBar.onSupportButtonClick();" />
  125.       <hbox id="antToolBarHiddenObjectT" flex="1"/>
  126.     </toolbar>
  127.   </toolbox>
  128.  
  129.  
  130.   <!-- statusbar -->
  131.   <statusbar id="status-bar">
  132.  
  133.     <statusbarpanel id="ant-video-statusbarpanel" insertbefore="security-button" hidden="false">
  134.  
  135.       <stringbundleset id="strbundles">
  136.         <stringbundle id="langstr" src="chrome://antrank/locale/rank.properties"/>
  137.       </stringbundleset>
  138.  
  139.       <toolbarbutton id="ant-video-statusbar-menu-button" tooltiptext="&antToolbar.toolbarname;" type="menu" class="ant-logo-little-class ant-statusbar-button-class">
  140.     <menupopup id="ant-video-statusbar-menu-menupopup">
  141.           <menuitem id="ant-video-statusbar-player"   class="menuitem-iconic ant-player-class" tooltiptext="&antToolBarPlayerButton.tooltiptext;" label="&antToolBarPlayerButton.label;" oncommand="AntBar.onPlayerButtonClick();"/>
  142.           <menuitem id="ant-video-statusbar-explore"  class="menuitem-iconic ant-explore-class" tooltiptext="&antToolBarOpenDirButton.tooltiptext;" label="&antToolBarOpenDirButton.label;" oncommand="AntBar.onOpenDirButtonClick();"/>
  143.           <menuitem id="ant-video-statusbar-settings" class="menuitem-iconic ant-settings-class" tooltiptext="&antFlvToolBarMenuPrefButton.tooltiptext;" label="&antFlvToolBarMenuPrefButton.label;" oncommand="AntBar.doPrefs();"/>
  144.           <menuitem id="ant-video-statusbar-support"  class="menuitem-iconic ant-help-class" tooltiptext="&antToolBarSupportButton.tooltiptext;" label="&antToolBarSupportButton.label;" oncommand="AntBar.onSupportButtonClick();"/>
  145.     </menupopup>
  146.       </toolbarbutton>
  147.  
  148.       <toolbarseparator class="ant-statusbar-button-class"/>
  149.  
  150.       <toolbarbutton id="ant-video-statusbar-dl-button" tooltiptext="&antToolbar.toolbarname;" label="&antToolBarDownloadButton.label;" type="" disabled="true" class="ant-statusbar-button-class ant-download-class">
  151.     <menupopup id="ant-video-statusbar-dllist">
  152.     </menupopup>
  153.       </toolbarbutton>
  154.  
  155.       <toolbarseparator class="ant-statusbar-button-class" id="ant-video-statusbar-rank-separator"/>
  156.  
  157.       <toolbarbutton id="ant-video-statusbar-rank" class="ant-statusbar-button-class ant-rank-class" tooltiptext="&antToolBarRankButton.tooltiptext;" label="&antToolBarRankButton.label;" oncommand="AntBar.onRankButtonClick();"/>
  158.  
  159.     </statusbarpanel>
  160.  
  161.   </statusbar>
  162.  
  163. </overlay>
  164.